$OpenBSD: patch-mscore_CMakeLists_txt,v 1.5 2015/08/22 02:47:27 bcallah Exp $
--- mscore/CMakeLists.txt.orig	Thu Jul 16 17:02:34 2015
+++ mscore/CMakeLists.txt	Fri Aug 21 18:16:55 2015
@@ -474,7 +474,6 @@ else (MINGW)
       ${ALSA_LIB}
       ${QT_LIBRARIES}
       z
-      dl
       pthread
       )
     if (USE_PORTAUDIO)
@@ -504,15 +503,15 @@ else (MINGW)
      endif (USE_PORTMIDI)
      target_link_libraries(mscore ${OsxFrameworks})
    else (APPLE)
-       target_link_libraries(mscore rt)
+       target_link_libraries(mscore)
    endif (APPLE)
 
    # gold does not use indirect shared libraries for symbol resolution, Linux only
    if (NOT APPLE)
       if(USE_JACK)
-         target_link_libraries(mscore dl)
+         target_link_libraries(mscore)
       endif(USE_JACK)
-      target_link_libraries(mscore rt)
+      target_link_libraries(mscore)
    endif (NOT APPLE)
 
    if (APPLE)
